[PATCH 1/2] MDEV-35785 innodb_log_file_mmap is not defined on 32-bit systems
authorMarko Mäkelä <marko.makela@mariadb.com>
Wed, 8 Jan 2025 10:59:28 +0000 (12:59 +0200)
committerOtto Kekäläinen <otto@debian.org>
Sun, 12 Jan 2025 22:10:40 +0000 (14:10 -0800)
commit4313c0607eb3d6ea8afcc9cc9d25f2196e22b8d6
tree595e602f168e78b228bf11306032703d7f5275b9
parent6fc68e64b4a58363a5d5572097742cb7bd13eea4
[PATCH 1/2] MDEV-35785 innodb_log_file_mmap is not defined on 32-bit systems

HAVE_INNODB_MMAP: Remove, and unconditionally enable this code.

log_mmap(): On 32-bit systems, ensure that the size fits in 32 bits.

log_t::resize_start(), log_t::resize_abort(): Only handle memory-mapping
if HAVE_PMEM is defined. The generic memory-mapped interface is only for
reading the log in recovery. Writable memory mappings are only for
persistent memory, that is, Linux file systems with mount -o dax.

Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/3732.patch (9057410ec72186fe9f9d0e6a73b9754e29c00afe)
Forwarded: https://github.com/MariaDB/server/pull/3732

Gbp-Pq: Name MDEV-35785-Always-show-innodb_log_file_mmap.patch
13 files changed:
extra/mariabackup/xtrabackup.cc
mysql-test/suite/mariabackup/innodb_redo_log_overwrite.combinations [new file with mode: 0644]
mysql-test/suite/sys_vars/r/sysvars_innodb.result
mysql-test/suite/sys_vars/t/sysvars_innodb.test
storage/innobase/CMakeLists.txt
storage/innobase/handler/ha_innodb.cc
storage/innobase/include/log0log.h
storage/innobase/include/log0recv.h
storage/innobase/include/univ.i
storage/innobase/log/log0log.cc
storage/innobase/log/log0recv.cc
storage/innobase/mtr/mtr0mtr.cc
storage/innobase/srv/srv0start.cc